projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afe9fae
)
(x_iconify_frame): Handle case where frame was invisible.
author
Richard M. Stallman
<rms@gnu.org>
Tue, 27 Jul 1993 08:33:44 +0000
(08:33 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Tue, 27 Jul 1993 08:33:44 +0000
(08:33 +0000)
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index 4005f5a603c3eca7724f5332861aa3ffa3d15f1f..382c93ce82d45cdbf5f3007551fde3b33be665be 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-4502,6
+4502,14
@@
x_iconify_frame (f)
IconicState. */
x_wm_set_window_state (f, IconicState);
+ if (!FRAME_VISIBLE_P (f))
+ {
+ /* If the frame was withdrawn, before, we must map it. */
+ XMapWindow (XDISPLAY FRAME_X_WINDOW (f));
+ if (FRAME_HAS_VERTICAL_SCROLL_BARS (f))
+ XMapSubwindows (x_current_display, FRAME_X_WINDOW (f));
+ }
+
f->async_iconified = 1;
#else /* ! defined (HAVE_X11) */
XUnmapWindow (XDISPLAY FRAME_X_WINDOW (f));